package org.example.thread.threadException.threadpool;

import lombok.SneakyThrows;

/**
 * @Auther:Liu
 * @Testname:DemoA
 * @Date:2025/8/14 16:59
 */
public class DemoA implements Runnable {

    @SneakyThrows
    public void run(){
        for (int i = 0; i < 10; i++){
            String name = Thread.currentThread().getName();
            System.out.println(name+"输出了"+i);
            Thread.sleep(5000);
        }
    }
}
